-
Notifications
You must be signed in to change notification settings - Fork 7.7k
sysbuild: Default to swap using offset for MCUboot #93310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This swapping method is more efficient than swap using move and has been available for some time, remove experimental flag and set it as the default except for stm32 devices which have partition alignment for swap using move Signed-off-by: Jamie McCrae <[email protected]>
|
@@ -45,7 +47,6 @@ config MCUBOOT_MODE_SINGLE_APP | |||
|
|||
config MCUBOOT_MODE_SWAP_USING_OFFSET | |||
bool "Swap using offset" | |||
select EXPERIMENTAL | |||
help |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funnily this description isn't really helpful IMO. I would have expected to learn about the difference between USING_MOVE
vs USING_OFFSET
from the help texts. But they appear to be identical.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description is in MCUboot: https://github.com/mcu-tools/mcuboot/blob/main/boot/zephyr/Kconfig#L481
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but it wouldn't hurt refer to it.
This swapping method is more efficient than swap using move and has been available for some time, remove experimental flag and set it as the default except for stm32 devices which have partition alignment for swap using move
FYI @erwango